/*
 * @(#)cn.design.pattern.prototype 2020/4/10/0010
 *
 * Copy Right@ 人人译视界
 */


package cn.design.pattern.prototype;

/**
 * <pre>
 * @author tuwei
 *
 * @version 0.9
 *
 * 修改版本: 0.9
 * 修改日期: 2020/4/10/0010
 * 修改人 :  tuwei
 * 修改说明: 初步完成
 * 复审人 ：
 * </pre>
 */
public class Sheep implements Cloneable {
	private String name;
	private Integer age;
	private String color;

	public Sheep(String name, Integer age, String color) {
		this.name = name;
		this.age = age;
		this.color = color;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	@Override
	protected Object clone() throws CloneNotSupportedException {
		Sheep sheep = (Sheep) super.clone();
		return sheep;
	}
}
